<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<div class="col-md-12">
	<div class="panel-search">


		<div class="ebay-content">



			<div class="ebay-title">
				<h4>订单号:${ord.orderid}</h4>
				<h4>
					状态：
					<c:if test="${ord.orderstatus=='Shipped'}">已发货</c:if>
					<c:if test="${ord.orderstatus=='Unshipped'}">待发货</c:if>
					<c:if test="${ord.orderstatus=='Canceled'}">已取消</c:if>
					<c:if test="${ord.orderstatus=='Pending'}">未付款</c:if>

				</h4>
			</div>
			<div class="order-say">
				<label>订单概要</label><a style="float: right; font-size: 16px;">编辑</a><br>
				<br> <span>店铺：亚马逊1</span><span>下单日期：${ord.purchasedate}</span><span>支付日期：${ord.purchasedate}</span><span>发货日期：${ord.deliverystartdate}</span>
				<br> <br> <span>产品价格：${ord.itemprice}</span><span>运输费用：${ord.shippingprice}</span><span>订单总价：${ord.pricedesignation}</span><span>总支付:${ord.pricedesignation}</span>

			</div>



			<div class="order-people">
				<label>收货人信息</label><a style="float: right; font-size: 16px;">编辑</a><br>
				<br> <span>收货人：${ord.recipientname}</span><span>地址：${ord.shipaddress1}
				</span><span>手机号：${ord.buyerphonenumber}</span><span>邮编：${ord.shippostalcode}
				</span>

			</div>
			<div class="order-info">
				<label>发货信息</label><a style="float: right; font-size: 16px;">编辑</a><br>
				<br> <span style="margin-left: 30px;">发货时间:</span><span>${ord.deliverystartdate}</span><br>
				<br> <span style="margin-left: 30px;">邮寄方式：</span><span>暂无</span>
				<br> <br> <span style="margin-left: 30px;">运单号：</span><span>暂无</span>
			</div>
			<div class="order-note">
				<label>备注</label><br> <br> <span
					style="font-size: 16px; margin-left: 30px;">本物品很贵重，请轻拿轻放</span>
			</div>
			<div class="order-product">
				<label>商品信息</label><br> <br>
				<table class="table table-striped table-hover table-info"
					style="margin-left: 30px; width: 95%;">
					<thead>
						<tr>
							<th>商品名称</th>
							<th>商品SKU</th>
							<th>单价</th>
							<th>数量</th>
							<th>当前库存</th>
							<th>发货SKU</th>
							<th>总价</th>
						</tr>
					</thead>
					<tbody>
						<c:forEach items="${itemsList}" var="items" varStatus="vs">
							<tr>
								<td>${items.productName}</td>
								<td>${items.productSKU}</td>
								<td>${items.unitprice}</td>
								<td>${items.quanity}</td>
								<td>${items.currentinventory}</td>
								<td>${items.productSKU}</td>
								<td>${items.sumPrice}</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
			</div>
		</div>
	</div>
	<div class="panel-content"></div>
</div>
<style type="text/css">
select {
	width: 200px;
}

.ebay-content {
	width: 100%;
	border: 1px solid #C1C1C1;
}

.ebay-title {
	background-color: #f2f2f2;
	padding: 1% 1% 1% 3%;
	border: 1px solid #C1C1C1;
}

.order-say {
	padding: 1%;
	border: 1px solid #C1C1C1;
}

.order-say label {
	font-size: 16px;
	margin-left: 30px;
	font-weight: bold;
}

.order-say span {
	margin-left: 30px;
	font-size: 16px;
}

.order-people {
	padding: 1%;
	border: 1px solid #C1C1C1;
}

.order-people label {
	font-size: 16px;
	margin-left: 30px;
	font-weight: bold;
}

.order-people span {
	margin-left: 30px;
	font-size: 16px;
}

.order-info {
	padding: 1%;
	border: 1px solid #C1C1C1;
}

.order-info label {
	font-size: 16px;
	margin-left: 30px;
	font-weight: bold;
}

.order-info span {
	font-size: 16px;
}

.order-note {
	padding: 1%;
	border: 1px solid #C1C1C1;
}

.order-note label {
	font-size: 16px;
	margin-left: 30px;
	font-weight: bold;
}

.order-product {
	padding: 1%;
	border: 1px solid #C1C1C1;
}

.order-product label {
	font-size: 16px;
	margin-left: 30px;
	font-weight: bold;
}
</style>
<script type="text/javascript"
	src="<c:url value="/static/custom/datepicker-util.js"></c:url>"></script>
<script type="text/javascript">
	$(function() {

	});
</script>